package com.ld.hpfs.dao;

import java.util.ArrayList;
import java.util.HashMap;

import org.springframework.stereotype.Repository;

@Repository
public interface InvoiceBuyMapper {

	int getInvoiceBuyListCount(HashMap<String, Object> param);

	ArrayList<HashMap<String, Object>> getInvoiceBuyList(
			HashMap<String, Object> param);

	// 新建保存
	int saveInvoiceBuy(HashMap<String, Object> param);
	// 编辑保存
	void editInvoiceBuy(HashMap<String, Object> param);

	ArrayList<HashMap<String, Object>> getMachInfo(HashMap<String, Object> param);

	ArrayList<HashMap<String, Object>> getMachNames(HashMap<String, Object> param);
	
	int deleteInvoiceList(HashMap<String, Object> param);
	// 编辑取值
	ArrayList<HashMap<String, Object>> getInvoiceDataForEdit(
			HashMap<String, Object> param);
	// 保存明细
	void saveInvoiceBuyDetail(HashMap<String, Object> param);

}
